When IBM created their PS/2 line in the mid 1980s, they updated these ports. The PC industry followed suit, and the PS/2 port became the industry standard.
What if you have an older favorite keyboard with an AT connector and are trying to connect it to a newer PC with a PS/2 port? You will have to purchase an adapter that will convert an AT connector to a PS/2 connector.